package com.geotmt.billingcenter.common.exception;

import lombok.Data;

/**
 * @Description 自定义 异常类
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/15 12:23
 * @Version     v1
 **/
@Data
public class MyException extends Exception{

    private String msg;

    private int code;

    public MyException(){}

    public MyException(String msg, int code){
        this.msg = msg;
        this.code = code;
    }
}
